package generator;

import org.eclipse.uml2.uml.Element;
import java.util.Properties;

public class JpaEntityConstructorsTemplateClass extends BaseTemplateClass {


	public JpaEntityConstructorsTemplateClass(Properties properties) {
		super(properties);
	}

	public boolean isProcessable() {
		return true;
	}

	public void setElement(Element ele) {
		this.element = ele;
		returningString = new StringBuilder();
	}

	protected String _returning() {
		returningString.append("\n\t/**\n\t * Constructor por defecto \n\t */\n\tpublic ");
		returningString.append(getName(element));
		returningString.append("() {\n\t}\n\t");

		return returningString.toString();
	}
}